gnttab: cleanup
authorJan Beulich <JBeulich@suse.com>
Wed, 30 May 2012 08:23:33 +0000 (09:23 +0100)
committerJan Beulich <JBeulich@suse.com>
Wed, 30 May 2012 08:23:33 +0000 (09:23 +0100)
commit39d3e09019881e36472fed4807e2c9954b0d929e
tree3cac38569629b1a499598d231c8d09b32be7392a
parent74c5f66048beacfc53589e8dc878cfd8d216b3d1
gnttab: cleanup

- introduce local variables (shortcuts for frequently used
  <dom>->grant_table)
- adjust first parameter of mapcount()
- drop lock acquisition from gnttab_get_version()
- remove hard tabs and adjust formatting

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Andrew Thomas <andrew.thomas@oracle.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/common/grant_table.c